package org.wangle.seckill.mq.component.seckill;

import org.springframework.amqp.core.Exchange;
import org.springframework.amqp.core.ExchangeBuilder;
import org.springframework.context.annotation.Bean;

public class SecKillExchange {

    @Bean
    public Exchange createOrderOfSecKillExchange(){
        return ExchangeBuilder.directExchange("create.order.of.secKill.exchange").build();
    }

}
